package com.hjxr.quota.define.service;

import com.hjxr.quota.define.domain.QuotaFormula;
import com.hjxr.quota.define.dto.QuotaCreateDto;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 预指标公式存储表 服务类
 * </p>
 *
 * @author ma
 * @since 2020-10-20
 */
public interface IQuotaFormulaService extends IService<QuotaFormula> {

    Boolean createQuotaByQuota(QuotaCreateDto quotaCreateDto);

    /**
     * 根据所选生成值类型指标生成指标
     * @param quotaCreateDto
     * @return
     */
    Boolean createQuotaByQuotaFromType(QuotaCreateDto quotaCreateDto);
}
